

<form action="" class="layui-form">
	<div class="layui-fluid">
		
		<div class="layui-card">
		<div class="layui-row">
    <div class="layui-col-md12">
    	<div class="layui-card-header">
      	评论详情
      	</div>
      
      
      	
      	
      	<table class="layui-table" lay-size="lg" lay-skin="nob">
		      
		      <tbody>
		      	<tr>
		      		<td class="small_td">评论人ID：</td>
		      		<td class="comPer">
		      		</td>
		      	</tr>
		      	<tr>
		      		<td class="small_td">评论人Guid：</td>
		      		<td class="comPered">
		      		</td>
		      		
		      	</tr>
		      	
		      	
		      	
		      	<tr>
		      		<td class="small_td">提交时间：</td>
		      		<td class="commitTime">
		      		</td>
		      			
		      	</tr>
		      	<tr>
		      		<td class="small_td">点赞数：</td>
		      		<td class="likeNum">
		      		</td>
		      		
		      	</tr>
		      	<tr>
		      		<td class="small_td">评价内容：</td>
		      		<td class="comCont">
		      		</td>
		      		
		      	</tr>
		      	
			  </tbody>
		      	
	      </table>
    </div>
    
    <div class="layui-col-md10">
    	<div class="addFHBtn">
			<a href="#/layui/pinglunMana" class="layui-btn confirm">返回列表</a>
		</div>
    </div>
    
  </div>
</div>


		</div>
	</div>
</form>

<script>
	let comPer = document.querySelector(".comPer");
	let comPered = document.querySelector(".comPered");
	let commitTime = document.querySelector(".commitTime");
	let likeNum = document.querySelector(".likeNum");
	let comCont = document.querySelector(".comCont");
	
	layui.use(['jquery', 'mockjs', 'table', 'sidebar', 'form','route'], function () {
		var $ = layui.jquery,
      layer = layui.layer,
      table = layui.table,
      sidebar = layui.sidebar,
      route = layui.route,
      params = route.params(),
      form = layui.form;
      
//    let _obj = {
//			  "Guid": "00000000-0000-0000-0000-000000000000",
//			  "MemberGuid": "sample string 2",
//			  "MemLoginId": "sample string 3",
//			  "Content": "sample string 4",
//			  "CreateTime": "2018-12-19T20:23:31.5304645+08:00",
//			  "IsAudit": 1,
//			  "LikeCount": 1
//			}
      
      function _confirm (){
      	
						
					}
      
      
      if(params){
      	DBHelper.Get("Admin_Xn_Comment?id="+params.id,function(data){
      		comPered.innerText=data.MemberGuid;
      		comPer.innerText=data.MemLoginId;
      		commitTime.innerText=data.CreateTime;
      		likeNum.innerText=data.LikeCount;
      		comCont.innerText=data.Content;
      		
      		
      		
      	},function(data){
      		console.log(data)
      	})
      }
      
      
  })
	
</script>


	<style scoped>
		.small_td{
			text-align: right;
			width: 100px;
		}
		.haveTo{
			color: red;
		}
		.meetInfo{
			position: relative;
		}
		.fr{
			float: right;
		}
		.fl{
			float: left;
		}
		.clearfix::after{
			content: "";
			display: block;
			width: 100%;
			height: 0;
			clear: both;
		}
		.meetIntro{
			position: relative;
		}
		.limit{
			position: absolute;
			bottom: 5px;
			right: 10px;
		}
      	.title{
      		margin-left: 30px;
      		margin-top: 30px;
      	}
      	.checkBtn{
      		border-radius: 5px;
      		width: 100px;
      	}
      	.listBtns{
      		display: flex;
      		justify-content: space-between;
      		width: 100%;
      	}
      	.listBtn{
      		border-radius: 5px;
      	}
      	.addFHBtn{
      		text-align: center;
      		margin-top: 20px;
      		margin-bottom: 20px;
      	}
      	.addFHBtn button{
      		display: inline-block;
      		width: 300px;
      	}
      </style>
      
      
